package com.atguigui.leetcode;

/**
 * P面试题 01.09.字符串轮转
 * Project: leetcode
 * Package: com.atguigui.leetcode
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2022/9/29 20:31
 */
public class StringRotationLcci {
    public static void main(String[] args) {
        Solution solution = new StringRotationLcci().new Solution();
        // TO TEST
    }

    class Solution {
        public boolean isFlipedString(String s1, String s2) {
            return s1.length() == s2.length() && (s1 + s1).contains(s2);
        }
    }
}
